﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.Area;
using LJX.SmartPark.Domain.IotInfo;
using LJX.SmartPark.Service.IotInfo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LJX.SmartPark.Service.Area.SchedulSer.Dto;

namespace LJX.SmartPark.Service.Area
{
    public interface ICarService: ITransientService
    {
        Task<Response<List<Car>>> GetCarAsync(CarForm car);
        Response<Car> GetCarById(Car input);
        Task<Response<bool>> PostAddCar(Car input);
        Task<Response<bool>> DeleteByIdAsync(Car input);
        Task<Response<bool>> DeleteAllAsync(params Car[] input);
        Task<Response<bool>> PutUpdateCar(Car input);
        Task<Response<List<Car>>> GetCarAsync();

        Response<Car> GetCarData(Car input);
        Task<Response<bool>> CarAdd(Car input);
        Task<Response<bool>> CarDelete(Car input);
        Task<Response<bool>> CarUpdate(Car input);
        //批删接口
        Task<Response<bool>> CarDeleteDatas(string[] ids);
    }

   
}
